HighlightChanged
TheHighlightChanged
method should update the highlight state of the specified facet of this part.
void HighlightChanged (in ODFacet facet);
facet
- A reference to a facet of this part.
DISCUSSION
OpenDoc calls this method when the highlight state of one of your part's facets changes. This allows your part to draw its content consistently with the content highlighting of your part's containing part.Your part's
HighlightChanged
method should adjust your part's presentation in the facet to its new highlight state. The new state is found by calling the facet'sGetHighlight
method.OVERRIDING
When you subclassODPart
, you must override this method. Your override method must not call its inherited method; that is, your override method must implement this method's functionality completely.EXCEPTIONS
kODErrInvalidFacet
- The specified facet is not a facet of this part.
SEE ALSO
TheODFacet::ChangeHighlight
method (page 235).
TheODFacet::GetHighlight
method (page 247).
"The HighlightChanged Method" on page 74 in OpenDoc Cookbook.
Table 2-1 on page 89 in OpenDoc Programmer's Guide.
"Setting Up" on page 157 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help